// components/my-com2/my-com2.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    isOpen: Boolean,
    num: {
      type: Number,
      value: 10
    }
  },
  methods: {
    hTap() {
      const n = Math.random()
      console.log(n)
      this.triggerEvent("http", n)
    }
  }
})
